Rails.application.routes.draw do
  root 'home#index'

  devise_for :users
  resources :posts, param: :slug
  resources :photos, param: :slug
end
